package com.tengju.payment.domain.shard;

//字符串帮助类
public class StringHelper {

    private StringHelper () {

    }


    //用0补齐指定位数字符串 //字符串，位数
    public static String frontWithZero(int stringData,int stringLength){
        String newString = String.format("%0" + stringLength + "d", stringData);
        return newString;
    }
}
